<?php
if(isset($strAction)) {
    switch($strAction) {
        case 'index':
            if(isset($_SESSION['USER_PARAM'])) unset($_SESSION['USER_PARAM']);
			if(isset($_SESSION['USER_ERROR'])) unset($_SESSION['USER_ERROR']);
            $arrCSS = array (
                 HOST_STATICS . 'common/css/themes/smoothness/ui.theme.css',
                 HOST_STATICS . 'common/css/themes/base/ui.datepicker.css',
                 HOST_STATICS . 'common/css/datetimepicker.css'
            );
            $arrJS = array	(
                HOST_STATICS . 'common/js/ui/jquery-ui.min.js',
                HOST_STATICS . 'common/js/ui/jquery.ui.datepicker.min.js',
                HOST_STATICS . 'admin/js/user/index.js'
                
            );
            break;
        case 'add':
        	$arrCSS = array	(
				 HOST_STATICS . 'common/css/themes/smoothness/ui.theme.css',
                 HOST_STATICS . 'common/css/themes/base/ui.datepicker.css',
                 HOST_STATICS . 'common/css/datetimepicker.css'                 
        	);
        	$arrJS = array	(
        		HOST_STATICS . 'admin/js/user/add.js' ,
                HOST_STATICS . 'common/js/ui/jquery-ui.min.js',
                HOST_STATICS . 'common/js/ui/jquery.ui.datepicker.min.js',
        	);
			
        	break;
        case 'edit':
			$arrCSS = array	(
				 HOST_STATICS . 'common/css/themes/smoothness/ui.theme.css',
                 HOST_STATICS . 'common/css/themes/base/ui.datepicker.css',
                 HOST_STATICS . 'common/css/datetimepicker.css'                 
        	);
			$arrJS = array	(	
					HOST_STATICS . 'common/js/ui/jquery-ui.min.js',
                    HOST_STATICS . 'common/js/ui/jquery.ui.datepicker.min.js',
					HOST_STATICS . 'admin/js/user/edit.js'                    
			);
            break;
		case 'changemail':
			$arrJS = array	(	
					HOST_STATICS . 'admin/js/user/changeemail.js'                    
			);
            break;
		case 'changepw':
			$arrJS = array	(	
					HOST_STATICS . 'admin/js/user/changepw.js'                    
			);
		    break;
		default:
			break;
    }
}